package com.lejin.api.item;

import com.lejin.item.entity.CourseOutline;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("lejin-item")
@RequestMapping("/item/course-outline")
public interface ItemApi {
    @RequestMapping("findCourseOutlineById/{id}")
    public CourseOutline findCourseOutlineById(@PathVariable Integer id);
}
